#ifndef ROBOT_H
#define ROBOT_H

#include <string>
#include "mobile.h"

using namespace std;

class Robot : public MobileUnit
{
public:
	Robot (string name,int y_loc,int x_loc,World *world):
		name(name),MobileUnit(y_loc,x_loc,world) {updateWorld();};

	void processcommand(string command);
	string getname();

	void pingRadar();

	void printStatus();

	void updateWorld();

	void moveStep();

protected:
	string name;


}; 

#endif
